SmartFTP FTP Library
IFTPConnection::UploadFile Method

Uploads a specified local file to a specified remote file.

IDL
HRESULT UploadFile(
    [in] BSTR localFile, 
    [in] BSTR remoteFile, 
    [in] long startPositionLo, 
    [in] long startPositionHi
);

The client opens a data connection and uploads the file with the STOR command. In case the nStartPosLo/nStartPosHi arguments are greater than zero, the client sends a REST command and the file is being resumed from the position specified in the nStartPosLo/nStartPosHi arguments.

What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.